import { LAYOUT } from '../consts'
const menu: any = {
  name: 'setting:manager',
  path: '/setting/manager',
  component: LAYOUT,
  meta: {
    title: '系统设置',
    icon: 'SettingOutlined',
    // perm: 'guest',
    perm: 'admin',
    // perm: ['admin', 'sys:manager'],
    orderNo: 3,
    component: 'LAYOUT',
  },
  children: [
    {
      name: 'setting:host',
      path: '/setting/host/index',
      component: () => import('/@/views/setting/host/index.vue'),
      meta: {
        title: '宿主设备类型',
        icon: 'TeamOutlined',
        orderNo: 1,
        perms: ['admin', 'setting:host'],
        component: '/setting/host/index',
        btns: {
          'setting:host:page': '分页查询宿主设备类型',
          'setting:host:detail': '查看宿主设备类型详情',
          'setting:host:save': '添加宿主设备类型',
          'setting:host:update': '修改宿主设备类型',
          'setting:host:remove': '删除宿主设备类型',
        },
      },
    },
    {
      name: 'setting:edge',
      path: '/setting/edge/index',
      component: () => import('/@/views/setting/edge/index.vue'),
      meta: {
        title: '边缘设备类型',
        icon: 'TeamOutlined',
        orderNo: 2,
        perms: ['admin', 'setting:edge'],
        component: '/setting/edge/index',
        btns: {
          'setting:edge:page': '分页查询边缘设备类型',
          'setting:edge:detail': '查看边缘设备类型详情',
          'setting:edge:save': '添加边缘设备类型',
          'setting:edge:update': '修改边缘设备类型',
          'setting:edge:remove': '删除边缘设备类型',
        },
      },
    },
   


  ],
};

export default menu;
